{*
SPDX-FileCopyrightText: © 2021 Olivier Meunier <olivier@neokraft.net>

SPDX-License-Identifier: AGPL-3.0-only
*}
{{- block card(isDeleted, isLoading) -}}
<div class="bookmark-card" data-deleted="{{ isDeleted }}" data-loading="{{ isLoading }}">
{{ yield content }}
</div>
{{- end -}}

{{- block card_image(src, width, height) -}}
<span class="bookmark-card-image">
  <img loading="lazy" alt="" src="{{ src }}" width="{{ width }}" height="{{ height }}">
</span>
{{- end -}}
